package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆管理对象 vehicles
 * 
 * @author ruoyi
 * @date 2024-02-14
 */
public class Vehicles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆ID */
    private Long vehicleId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String plateNumber;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String vehicleType;

    /** 载重能力(kg) */
    @Excel(name = "载重能力(kg)")
    private Double loadCapacity;

    /** 车辆状态 */
    @Excel(name = "车辆状态")
    private String status;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal currentLocationLat;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal currentLocationLng;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date lastMaintenanceDate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date createdAt;

    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }
    public void setPlateNumber(String plateNumber) 
    {
        this.plateNumber = plateNumber;
    }

    public String getPlateNumber() 
    {
        return plateNumber;
    }
    public void setVehicleType(String vehicleType) 
    {
        this.vehicleType = vehicleType;
    }

    public String getVehicleType() 
    {
        return vehicleType;
    }
    public void setLoadCapacity(Double loadCapacity) 
    {
        this.loadCapacity = loadCapacity;
    }

    public Double getLoadCapacity() 
    {
        return loadCapacity;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCurrentLocationLat(BigDecimal currentLocationLat) 
    {
        this.currentLocationLat = currentLocationLat;
    }

    public BigDecimal getCurrentLocationLat() 
    {
        return currentLocationLat;
    }
    public void setCurrentLocationLng(BigDecimal currentLocationLng) 
    {
        this.currentLocationLng = currentLocationLng;
    }

    public BigDecimal getCurrentLocationLng() 
    {
        return currentLocationLng;
    }
    public void setLastMaintenanceDate(Date lastMaintenanceDate) 
    {
        this.lastMaintenanceDate = lastMaintenanceDate;
    }

    public Date getLastMaintenanceDate() 
    {
        return lastMaintenanceDate;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vehicleId", getVehicleId())
            .append("plateNumber", getPlateNumber())
            .append("vehicleType", getVehicleType())
            .append("loadCapacity", getLoadCapacity())
            .append("status", getStatus())
            .append("currentLocationLat", getCurrentLocationLat())
            .append("currentLocationLng", getCurrentLocationLng())
            .append("lastMaintenanceDate", getLastMaintenanceDate())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
